

svyset [pweight=teamweight]


////////////////////////////////////////////////////////////////////////////////
/// CREATING VARIABLES

* TREATMENTS

gen control_tweet = 0
replace control_tweet = 1 if UCR101_treat==1

gen treatment_press = 0
replace treatment_press = 1 if UCR101_treat==2

gen treatment_courts = 0
replace treatment_courts = 1 if UCR101_treat==3

gen treatment_congress = 0
replace treatment_congress = 1 if UCR101_treat==4

gen trump_tweet=.
replace trump_tweet=0 if control_tweet==1
replace trump_tweet=1 if treatment_press==1
replace trump_tweet=1 if treatment_courts==1
replace trump_tweet=1 if treatment_congress==1
tab trump_tweet

*  Create relevant control and treatment groups

gen control_press = 0
replace control_press = 1 if UCR101_treat==1
replace control_press = 1 if UCR101_treat==2

gen control_courts = 0
replace control_courts = 1 if UCR101_treat==1
replace control_courts = 1 if UCR101_treat==3

gen control_congress = 0
replace control_congress = 1 if UCR101_treat==1
replace control_congress = 1 if UCR101_treat==4


* OTHER VARIABLES

*Party ID

gen republican = 0
replace republican = 1 if pid3==2

gen democrat = 0
replace democrat = 1 if pid3==1

gen independent = 0
replace independent = 1 if pid3==3

gen strong_republican = 0
replace strong_republican = 1 if pid7==7

gen strong_democrat = 0
replace strong_democrat = 1 if pid7==1

gen party_id = pid3
recode party_id 4=. 5=.

gen party_id_dem_rep = pid3
recode party_id_dem_rep 3=. 4=. 5=.

*demographics and balance checks for Appendix Table A1*

sort UCR101_treat
svy: tabulate gender
tabulate gender UCR101_treat, chi2

gen age=2019-birthyr
svy: mean age
oneway age UCR101_treat

svy: tabulate race
tabulate race UCR101_treat, chi2

svy: tabulate educ
svy: mean educ
oneway educ UCR101_treat

gen high_edu=0
replace high_edu=1 if educ==5
replace high_edu=1 if educ==6
tab high_edu

svy: tabulate party_id
tabulate party_id UCR101_treat, chi2

recode ideo5 6=.
svy: tabulate ideo5
svy: mean ideo5
oneway ideo5 UCR101_treat




* Outcome dummies

gen democracy_preferable = 0
replace democracy_preferable = 1 if UCR106 == 1


* Transform outcomes to drop people who skipped

recode UCR102_1 8=.
recode UCR102_2 8=.
recode UCR102_3 8=.
recode UCR102_4 8=.
recode UCR102_5 8=.
recode UCR102_6 8=.
recode UCR102_7 8=.

recode UCR103_1 8=.
recode UCR103_2 8=.
recode UCR103_3 8=.
recode UCR103_4 8=.
recode UCR103_5 8=.
recode UCR103_6 8=.
recode UCR103_7 8=.
recode UCR103_8 8=.
recode UCR103_9 8=.

recode UCR104 8=.
recode UCR105 8=.
recode UCR106 8=.
recode UCR107 8=.
recode UCR108 8=.
recode UCR109 8=.
recode UCR110 8=.
recode UCR111 8=.
recode UCR112 8=.
recode UCR113 8=.
recode UCR114 8=.
recode UCR115 8=.

***interactions with party****
gen dem_press=democrat*treatment_press
gen dem_courts=democrat*treatment_courts
gen dem_congress=democrat*treatment_congress
gen dem_tweet=democrat*trump_tweet

gen ind_press=independent*treatment_press
gen ind_courts=independent*treatment_courts
gen ind_congress=independent*treatment_congress
gen ind_tweet=independent*trump_tweet

recode pid7 8=.
gen pid_press=pid7*treatment_press
gen pid_courts=pid7*treatment_courts
gen pid_congress=pid7*treatment_congress
gen pid_tweet=pid7*trump_tweet

***interactions with education***
gen edu_press=high_edu*treatment_press
gen edu_courts= high_edu*treatment_courts
gen edu_congress= high_edu*treatment_congress
gen edu_tweet=high_edu*trump_tweet

**How tweets are perceived**
**Information for Appendix Table A2 and A3***

sort UCR101_treat

***authoritarian***
tab UCR102_3
sum UCR102_3
by UCR101_treat: sum(UCR102_3)
by UCR101_treat: sum(UCR102_3) if democrat==1
by UCR101_treat: sum(UCR102_3) if republican==1
by UCR101_treat: sum(UCR102_3) if independent==1
oneway UCR102_3 UCR101_treat

svy: regress UCR102_3 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress UCR102_3 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***acceptable political attack***
tab UCR102_1
sum UCR102_1
by UCR101_treat: sum(UCR102_1)
oneway UCR102_1 UCR101_treat

****offensive***
tab UCR102_2
sum UCR102_2
by UCR101_treat: sum(UCR102_2)
oneway UCR102_2 UCR101_treat

***necessary push against political correctness***
tab UCR102_4
sum UCR102_4
by UCR101_treat: sum(UCR102_4)
oneway UCR102_4 UCR101_treat

***racist***
tab UCR102_5
sum UCR102_5
by UCR101_treat: sum(UCR102_5)
oneway UCR102_5 UCR101_treat

***fair****
tab UCR102_6
sum UCR102_6
by UCR101_treat: sum(UCR102_6)
oneway UCR102_6 UCR101_treat

***un-american***
tab UCR102_7
sum UCR102_7
by UCR101_treat: sum(UCR102_7)
oneway UCR102_7 UCR101_treat

***agree with tweet****
***Information to generate Figures A3 and A4***
tab UCR104
sum UCR104
by UCR101_treat: sum(UCR104)
by UCR101_treat: sum(UCR104) if democrat==1
by UCR101_treat: sum(UCR104) if republican==1
by UCR101_treat: sum(UCR104) if independent==1


****democracy best*****
tab UCR105
sum UCR105
svy: mean UCR105


***First two columns Table 1***

svy: regress UCR105 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress UCR105 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***testing robustness to ordered logit***
svy: ologit UCR105 treatment_press treatment_courts treatment_congress
svy: ologit UCR105 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress


***Authoritarian- coded such that democracy is preferable****
tab democracy_preferable

svy: mean democracy_preferable

**Next two columns Table 1***
svy: logit democracy_preferable treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress
margins, dydx(treatment_press)

svy: logit democracy_preferable treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***strong leader- reverse code so that higher values are anti-strong leader***
gen anti_strongleader=6-UCR107
tab anti_strongleader
sum anti_strongleader

svy: mean anti_strongleader

***Last two columns Table 1***
svy: regress anti_strongleader treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress anti_strongleader treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress


***testing robustness to ordered logit***

svy: ologit anti_strongleader treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit anti_strongleader treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress


***Code to Generate Figure 3***

svy: regress anti_strongleader treatment_press##democrat treatment_press##independent treatment_courts##democrat treatment_courts##independent treatment_congress##democrat treatment_congress##independent 
margins treatment_press, over(democrat)
marginsplot

***role of the media****
tab UCR108
sum UCR108
svy: mean UCR108

***First two columns Table 2***
svy: regress UCR108 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress UCR108 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***testing robustness to ologit***
svy: ologit UCR108 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit UCR108 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

**Remove license ****
tab UCR110
gen noremove_license=6-UCR110
tab noremove_license
sum noremove_license

svy: mean noremove_license

***Last two columns Table 2***
svy: regress noremove_license treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress noremove_license treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***testing robustness to ologit****

svy: ologit noremove_license treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit noremove_license treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress


***Left hand side of Figure 4***
svy: regress UCR108 treatment_press##democrat treatment_press##independent treatment_courts##democrat treatment_courts##independent treatment_congress##democrat treatment_congress##independent 
margins treatment_courts, over(democrat)
marginsplot

***Right hand side of Figure 4***
svy: regress noremove_license treatment_press##democrat treatment_press##independent treatment_courts##democrat treatment_courts##independent treatment_congress##democrat treatment_congress##independent 
margins treatment_press, over(democrat)
marginsplot
margins treatment_courts, over(democrat)
marginsplot

***prez vs. congressional power***
tab UCR111
gen congress_morepowerful=.
replace congress_morepowerful=-1 if UCR111==1
replace congress_morepowerful=0 if UCR111==3
replace congress_morepowerful=1 if UCR111==2
tab congress_morepowerful

svy: mean congress_morepowerful


***First two columns appendix Table A5***
svy: ologit congress_morepowerful treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit congress_morepowerful treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress



***don't disregard congress***
tab UCR112
gen nodisregard_congress=6-UCR112
tab nodisregard_congress
sum nodisregard_congress

svy: mean nodisregard_congress

***Middle Columns Appendix Table A5***
svy: regress nodisregard_congress treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress nodisregard_congress treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress


***testing robustness with ordered logit***
svy: ologit nodisregard_congress treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit nodisregard_congress treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***harmful to work without congress***
tab UCR113
sum UCR113
svy: mean UCR113


***Last two columns Appendix Table A5***
svy: regress UCR113 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress UCR113 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***robustness checks with ordered logit***
svy: ologit UCR113 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit UCR113 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress


***Figure 5***
svy: regress nodisregard_congress treatment_press##democrat treatment_press##independent treatment_courts##democrat treatment_courts##independent treatment_congress##democrat treatment_congress##independent 
margins treatment_press, over(democrat)
marginsplot
margins treatment_courts, over(democrat)
marginsplot



***don't disregard courts***
tab UCR115
gen nodisregard_courts=6-UCR115
tab nodisregard_courts
sum nodisregard_courts

svy: mean nodisregard_courts

svy: regress nodisregard_courts treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress nodisregard_courts treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***testing robustness to ologit***

svy: ologit nodisregard_courts treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit nodisregard_courts treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***harmful to work without courts***
tab UCR114
sum UCR114
svy: mean UCR114

svy: regress UCR114 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: regress UCR114 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***testing robustness to ordered logit***

svy: ologit UCR114 treatment_press treatment_courts treatment_congress
test treatment_press=treatment_courts
test treatment_press=treatment_congress
test treatment_courts=treatment_congress

svy: ologit UCR114 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
test dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

***code for Figure 6****

svy: regress nodisregard_courts treatment_press##democrat treatment_press##independent treatment_courts##democrat treatment_courts##independent treatment_congress##democrat treatment_congress##independent 
margins treatment_courts, over(democrat)
marginsplot


***analysis referenced in footnote 14 -by education***

svy: regress UCR105 treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: logit democracy_preferable treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress anti_strongleader treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress anti_strongleader treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress UCR108 treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress noremove_license treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: ologit congress_morepowerful treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress nodisregard_congress treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress UCR113 treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress nodisregard_courts treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

svy: regress UCR114 treatment_press treatment_courts treatment_congress high_edu edu_press edu_courts edu_congress 

lincom treatment_press + [1]*edu_press
lincom treatment_courts + [1]*edu_courts
lincom treatment_congress + [1]*edu_congress

**denial of racism***
**disagree white people have certain advantages***
recode CC19_343a 8/999=.
tab CC19_343a

***agree racial problems are rare****
recode CC19_343b 8/999=.
tab CC19_343b
gen raceproblems=6-CC19_343b
tab raceproblems

gen deny_racism=CC19_343a+raceproblems
tab deny_racism

gen deny_racism2=deny_racism
recode deny_racism2 0/4=0 5/10=1
tab deny_racism2

gen racism_press=deny_racism2*treatment_press
gen racism_congress=deny_racism2*treatment_congress
gen racism_courts=deny_racism2*treatment_courts

svy: regress UCR105 treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: logit democracy_preferable treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress anti_strongleader treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress anti_strongleader treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress UCR108 treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress noremove_license treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: ologit congress_morepowerful treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress nodisregard_congress treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress UCR113 treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress nodisregard_courts treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

svy: regress UCR114 treatment_press treatment_courts treatment_congress deny_racism2 racism_press racism_courts racism_congress 

lincom treatment_press + [1]*racism_press
lincom treatment_courts + [1]*racism_courts
lincom treatment_congress + [1]*racism_congress

***analysis referenced in footnote 16***

svy: tab UCR103_7
svy: tab UCR103_8

sort UCR101_treat
by UCR101_treat: sum(UCR103_7) if republican==1
by UCR101_treat: sum(UCR103_8) if republican==1

svy: reg UCR103_7 treatment_press treatment_courts treatment_congress
svy: reg UCR103_7 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

svy: reg UCR103_8 treatment_press treatment_courts treatment_congress
svy: reg UCR103_8 treatment_press treatment_courts treatment_congress democrat independent dem_press dem_courts dem_congress ind_press ind_courts ind_congress
lincom treatment_press + [1]*dem_press
lincom treatment_press + [1]*ind_press

lincom treatment_courts + [1]*dem_courts
lincom treatment_courts + [1]*ind_courts

lincom treatment_congress + [1]*dem_congress
lincom treatment_congress + [1]*ind_congress

